import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Pop from './components/Pop.vue'
import './assets/font/iconfont.css'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'


Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.component('Pop',Pop)
new Vue({
  router,
  // 创建的共享数据对象store，挂载到vue对象实例中，所有的组件。就可以从store 中获取全局数据了
  store,
  render: h => h(App)
}).$mount('#app')
